Everything else in this file is also done by -TEX so we exit here when using that format after renaming their |@@| to |@ii|...
( @ )
Thus the job of allocating scratch registers is simple except for counters where we only have one so we use LATEX scratch counters when available and otherwise allocate two new ones:
( tempcnta @count@@ @count@@@ @@@=tempcnta @@@@=tempcntb )
Finally the second scratch token register not available with LATEX.
( @ii @ii=2 )